package com.example.demo.dao;

import com.example.demo.model.ArticleLabelModel;
import com.example.demo.model.ArticleModel;
import com.example.demo.model.LabelModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleLabelDao {

    int addArticleLabel(ArticleLabelModel articleLabelModel);

    List<ArticleLabelModel> getArticleLabelList();

    ArticleLabelModel getArticleLabelInfoById(Long id);

    boolean updateArticleLabelById(ArticleLabelModel articleLabelModel);

    boolean insertListBatch(List<ArticleLabelModel> articleLabelModelList);

    boolean del(Long id);
}
